package com.chengzhi.structure;

/**
 * @description: node
 * @author: ruanchengzhi
 * @create: 2019-11-30 16:14
 **/
public class Node<E> {
    E node;
    Node<E> left;
    Node<E> right;

    public Node(E node) {
        this.node = node;
    }

    public Node(E node, Node<E> left) {
        this.node = node;
        this.left = left;
    }

    public Node(E node, Node<E> left, Node<E> right) {
        this.node = node;
        this.left = left;
        this.right = right;
    }
}
